#include "client.h"



int main(int argc,char* argv[])
{
    ARGS_CHECK(argc,3);
   int sockfd = tcp_Init(argv[1],argv[2]);

   char line[256];

   while(1)
   {
       bzero(line,sizeof(line));
       int ret = read(STDIN_FILENO,line,sizeof(line));
       ERROR_CHECK(ret,-1,"read");
       send_cmd(line,sockfd);
    
   }

    return 0;
}

